package com.flyforum.domain;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

public class ForumTopic implements Serializable {

	private static final long serialVersionUID = 9056284128991740522L;

	private Integer id;

	private Integer userId;

	private Integer forumBoardId;

	/**
	 * "顶"次数
	 */
	private Integer goodCount;

	/**
	 * "踩"次数
	 */
	private Integer badCount;

	/**
	 * 是否置顶
	 */
	private boolean onTop;

	private String title;

	/**
	 * 标签 关键字
	 */
	private List<String> tags;

	private Date addTime;

	private Date updateStamp;

	/**
	 * 备注
	 */
	private String comments;

	private Integer icon;

	/**
	 * 显示作者签名
	 */
	private boolean showAuthorSign;

	/**
	 * 新回复通知
	 */
	private boolean replyNotify;

	/**
	 * 相关联的vote
	 */
	private Integer voteId;

	/**
	 * 回复总数
	 */
	private Integer replyCount;

	/**
	 * 查看次数
	 */
	private Integer viewCount;

	/**
	 * 最后回复者
	 */
	private Integer latestReplierId;

	/**
	 * 最新回复时间
	 */
	private Date latestReplyTime;

	public Date getAddTime() {
		return addTime;
	}

	public void setAddTime(Date addTime) {
		this.addTime = addTime;
	}

	public Integer getBadCount() {
		return badCount;
	}

	public void setBadCount(Integer badCount) {
		this.badCount = badCount;
	}

	public String getComments() {
		return comments;
	}

	public void setComments(String comments) {
		this.comments = comments;
	}

	public Integer getForumBoardId() {
		return forumBoardId;
	}

	public void setForumBoardId(Integer forumBoardId) {
		this.forumBoardId = forumBoardId;
	}

	public Integer getGoodCount() {
		return goodCount;
	}

	public void setGoodCount(Integer goodCount) {
		this.goodCount = goodCount;
	}

	public Integer getIcon() {
		return icon;
	}

	public void setIcon(Integer icon) {
		this.icon = icon;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getLatestReplierId() {
		return latestReplierId;
	}

	public void setLatestReplierId(Integer latestReplierId) {
		this.latestReplierId = latestReplierId;
	}

	public Date getLatestReplyTime() {
		return latestReplyTime;
	}

	public void setLatestReplyTime(Date latestReplyTime) {
		this.latestReplyTime = latestReplyTime;
	}

	public boolean isOnTop() {
		return onTop;
	}

	public void setOnTop(boolean onTop) {
		this.onTop = onTop;
	}

	public Integer getReplyCount() {
		return replyCount;
	}

	public void setReplyCount(Integer replyCount) {
		this.replyCount = replyCount;
	}

	public boolean isReplyNotify() {
		return replyNotify;
	}

	public void setReplyNotify(boolean replyNotify) {
		this.replyNotify = replyNotify;
	}

	public boolean isShowAuthorSign() {
		return showAuthorSign;
	}

	public void setShowAuthorSign(boolean showAuthorSign) {
		this.showAuthorSign = showAuthorSign;
	}

	public List<String> getTags() {
		return tags;
	}

	public void setTags(List<String> tags) {
		this.tags = tags;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public Date getUpdateStamp() {
		return updateStamp;
	}

	public void setUpdateStamp(Date updateStamp) {
		this.updateStamp = updateStamp;
	}

	public Integer getUserId() {
		return userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	public Integer getViewCount() {
		return viewCount;
	}

	public void setViewCount(Integer viewCount) {
		this.viewCount = viewCount;
	}

	public Integer getVoteId() {
		return voteId;
	}

	public void setVoteId(Integer voteId) {
		this.voteId = voteId;
	}

}
